<?php
Route::group(['prefix' => 'crm', 'namespace' => 'Crm', 'as' => 'crm.'], function () {
    Route::resource('article', 'ArticleController');
    Route::resource('category', 'CategoryController');


    Route::group(['prefix' => 'links'], function () {
        Route::post('del', 'LinkController@del')->name('links.del');
    });
    Route::resource('links', 'LinkController');//友情链接

    Route::get('vue_links', function () {
        return view('admin.crm.link.index');
    });

});